<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>登录</title>
<link href="css/2.css" type="text/css" rel="stylesheet"/>
</head>

<body>
<body>

      <div class="full-content-wrapper">
		<!-- top -->
                <div class="container">
          <div class="loginpage">
          <div class="loginpage_img"></div>
      <div class="round_box login_box" >

    <div class="wht"></div>

    <div class="content">
     <div id="tab">
        <ul>
          <li class="login_link_on"><a href="/login"><span>会员登录</span></a></li>
          <li class="reg_link_off"><a href="/register"><span>免费注册</span></a></li>
        </ul>
      </div>
      <div id="login_form_div">
        <form method="post" action="login.action">
		<input type="hidden" name="action" value="login"/>
 	 <fieldset>
      <div class="control-group">
        <label><span class="required">*</span>用户名/Email</label>
        <div>
          <input type="text" name="username" id="username" maxlength="20" class="input_text"/>
        </div>
      </div>

      <div class="control-group">
        <label><span class="required">*</span>密码</label>
        <div>
          <input type="password" name="password" id="password" maxlength="20" class="input_text"/>
        </div>
      </div>

   <input type="checkbox" name="signin[remember]" defaultvalue="on" checked="true" />
    记住我
   <a href="/forget-password">忘记密码？</a>
   <button type="submit" value="登录" post_click="登录中.." id="login_btn" class="btn btn-yellow login-btn"> 登录</button>

  <div class="other-login">
    <span>其他方式</span>
    <!--  
    <a class="link-group" href="/weibo/auth"><img id="wb_login_image" src="https://static10.elemecdn.com/images/forward/sina.gif" title="微博连接" alt="" border="0" /></a>
    <a href="/renren/auth"><img id="xn_login_image" src="https://static10.elemecdn.com/images/forward/renren.gif" title='人人连接' alt="" border="0"/></a>
  -->
  </div>

  </fieldset>
</form>

      </div>
      <div id="register_form_div" class="hidden">
      </div>
        <div class="cl"></div>
    </div>



  </div>
  <div class="clear"></div>
</div>
          <a id="back-to-top" href="javascript:void(0);">
            <div class="backtotop"></div>
          </a>
        </div>
      
      <div id="modal-login" class="modal hide fade hidden">
  <div class="modal-header">
    <a href="#" class="close">×</a>
    <h3>饿了么账号</h3>
  </div>

  <div class="modal-body">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#" class="">登录</a></li>
        <li><a href="/account/register" class="">注册</a></li>
    </ul>

    <form action="/account/login" method="post" class="form-horizontal">
      <fieldset>
        <div class="control-group">
          <label class="control-label" for="xlInput">用户名</label>
          <div class="controls">
            <input class="" id="" name="login[username]" size="30" type="text">
          </div>
        </div><!-- /clearfix -->
        <div class="control-group">
          <label class="control-label" for="xlInput">密码</label>
          <div class="controls">
            <input class="" id="" name="login[password]" size="30" type="password">
          </div>
        </div><!-- /clearfix -->

        <div class="form-actions">
          <input name="redirect_url" type="hidden" value="https://ele.me/login" />
          <input type="submit" class="btn btn-yellow login" value="登录网站">&nbsp;<button type="reset" class="btn cancel">取消</button>
        </div>
      </fieldset>
    </form>

    <form action="/account/regist" method="post" class="hidden">
      <fieldset>
        <legend></legend>
        <div class="clearfix">
          <label for="xlInput">用户名</label>
          <div class="input">
            <input class="" id="" name="username" size="30" type="text">
          </div>
        </div><!-- /clearfix -->
        <div class="clearfix">
          <label for="xlInput">密码</label>
          <div class="input">
            <input class="" id="" name="password" size="30" type="password">
          </div>
        </div><!-- /clearfix -->

        <div class="clearfix">
          <label for="xlInput">确认密码</label>
          <div class="input">
            <input class="" id="" name="repassword" size="30" type="password">
          </div>
        </div><!-- /clearfix -->

        <div class="clearfix">
          <label for="xlInput">电子邮箱</label>
          <div class="input">
            <input class="" id="" name="email" size="30" type="text">
          </div>
        </div><!-- /clearfix -->

        <div class="actions">
          <input type="submit" class="btn yellow login" value="注册用户">&nbsp;<button type="reset" class="btn cancel">取消</button>
        </div>
      </fieldset>
    </form>
  </div>
</div>
              
          </div>
 

    
    <div id="sun"></div>
    <div id="moon"></div>
</div>
</body>
</html>
